package com.example.peanutsubway.entity;


import java.sql.Timestamp;

public class Game {

  private Integer gid;
  private String gname;
  private String title;
  private Integer downloadCount;
  private Integer size;
  private String des;
  private String gameIcon;
  private String iosUrl;
  private String androidUrl;
  private String prictures;
  private Integer gstatus;
  private Integer tid;
  private Integer recType;
  private Timestamp ctime;
  private Timestamp utime;
  private Integer platform;
  private Integer sortnum;

  public Game() {
  }

  public Game(Integer gid, String gname, String title, Integer downloadCount, Integer size, String des, String gameIcon, String iosUrl, String androidUrl, String prictures, Integer gstatus, Integer tid, Integer recType, Timestamp ctime, Timestamp utime, Integer platform, Integer sortnum) {
    this.gid = gid;
    this.gname = gname;
    this.title = title;
    this.downloadCount = downloadCount;
    this.size = size;
    this.des = des;
    this.gameIcon = gameIcon;
    this.iosUrl = iosUrl;
    this.androidUrl = androidUrl;
    this.prictures = prictures;
    this.gstatus = gstatus;
    this.tid = tid;
    this.recType = recType;
    this.ctime = ctime;
    this.utime = utime;
    this.platform = platform;
    this.sortnum = sortnum;
  }

  public Game(String gname, String title, Integer downloadCount, Integer size, String des, String gameIcon, String iosUrl, String androidUrl, String prictures, Integer gstatus, Integer tid, Integer recType, Integer platform) {
    this.gname = gname;
    this.title = title;
    this.downloadCount = downloadCount;
    this.size = size;
    this.des = des;
    this.gameIcon = gameIcon;
    this.iosUrl = iosUrl;
    this.androidUrl = androidUrl;
    this.prictures = prictures;
    this.gstatus = gstatus;
    this.tid = tid;
    this.recType = recType;
    this.platform = platform;
  }

  public Game(Integer gid, String gname, String title, Integer size, String des, String gameIcon, String iosUrl, String androidUrl, String prictures, Integer gstatus, Integer tid, Integer recType, Timestamp utime, Integer platform) {
    this.gid = gid;
    this.gname = gname;
    this.title = title;
    this.size = size;
    this.des = des;
    this.gameIcon = gameIcon;
    this.iosUrl = iosUrl;
    this.androidUrl = androidUrl;
    this.prictures = prictures;
    this.gstatus = gstatus;
    this.tid = tid;
    this.recType = recType;
    this.platform = platform;
  }

  public Integer getGid() {
    return gid;
  }

  public void setGid(Integer gid) {
    this.gid = gid;
  }

  public String getGname() {
    return gname;
  }

  public void setGname(String gname) {
    this.gname = gname;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public Integer getDownloadCount() {
    return downloadCount;
  }

  public void setDownloadCount(Integer downloadCount) {
    this.downloadCount = downloadCount;
  }

  public Integer getSize() {
    return size;
  }

  public void setSize(Integer size) {
    this.size = size;
  }

  public String getDes() {
    return des;
  }

  public void setDes(String des) {
    this.des = des;
  }

  public String getGameIcon() {
    return gameIcon;
  }

  public void setGameIcon(String gameIcon) {
    this.gameIcon = gameIcon;
  }

  public String getIosUrl() {
    return iosUrl;
  }

  public void setIosUrl(String iosUrl) {
    this.iosUrl = iosUrl;
  }

  public String getAndroidUrl() {
    return androidUrl;
  }

  public void setAndroidUrl(String androidUrl) {
    this.androidUrl = androidUrl;
  }

  public String getPrictures() {
    return prictures;
  }

  public void setPrictures(String prictures) {
    this.prictures = prictures;
  }

  public Integer getGstatus() {
    return gstatus;
  }

  public void setGstatus(Integer gstatus) {
    this.gstatus = gstatus;
  }

  public Integer getTid() {
    return tid;
  }

  public void setTid(Integer tid) {
    this.tid = tid;
  }

  public Integer getRecType() {
    return recType;
  }

  public void setRecType(Integer recType) {
    this.recType = recType;
  }

  public Timestamp getCtime() {
    return ctime;
  }

  public void setCtime(Timestamp ctime) {
    this.ctime = ctime;
  }

  public Timestamp getUtime() {
    return utime;
  }

  public void setUtime(Timestamp utime) {
    this.utime = utime;
  }

  public Integer getPlatform() {
    return platform;
  }

  public void setPlatform(Integer platform) {
    this.platform = platform;
  }

  public Integer getSortnum() {
    return sortnum;
  }

  public void setSortnum(Integer sortnum) {
    this.sortnum = sortnum;
  }

  @Override
  public String toString() {
    return "Game{" +
            "gid=" + gid +
            ", gname='" + gname + '\'' +
            ", title='" + title + '\'' +
            ", downloadCount=" + downloadCount +
            ", size=" + size +
            ", des='" + des + '\'' +
            ", gameIcon='" + gameIcon + '\'' +
            ", iosUrl='" + iosUrl + '\'' +
            ", androidUrl='" + androidUrl + '\'' +
            ", prictures='" + prictures + '\'' +
            ", gstatus=" + gstatus +
            ", tid=" + tid +
            ", recType=" + recType +
            ", ctime=" + ctime +
            ", utime=" + utime +
            ", platform=" + platform +
            ", sortnum=" + sortnum +
            '}';
  }
}
